| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** |
||
| 13 | constructor (missing) { |
||
| 14 | super('Missing discord permissions to execute that command :' + missing) |
||
| 15 | /** |
||
| 16 | * The missing permissions |
||
| 17 | * @type {(Array|string)} |
||
| 18 | * @name MissingPermissionsException#missingPermissions |
||
| 19 | * @readonly |
||
| 20 | */ |
||
| 21 | this.missingPermissions = missing |
||
| 22 | /** |
||
| 23 | * The fisherCode |
||
| 24 | * @type {number} |
||
| 25 | * @readonly |
||
| 26 | * @name MissingPermissionsException#code |
||
| 27 | * @constant |
||
| 28 | * @default 403 |
||
| 29 | */ |
||
| 30 | this.code = 403 |
||
| 31 | } |
||
| 32 | } |
||
| 34 |